﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TouchDriver.Data
{
    public class Location
    {
        public int x;
        public int y;
        

        public Location(int x, int y)
        {
            this.x = x;
            this.y = y;
        }

        public Location()
        {
            x = y = 0;
        }

        public bool Valid
        {
            get
            {
                return !(x == 0 && y == 0);
            }
        }
    }
}
